package com.chuanjiabao.wisdom.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 86178 on 2019/8/5.
 * author mogen
 * 用心，成就一切。
 */

public class FamilyDeatilCallbackBean implements Serializable{
    /**
     * code : 1
     * msg : ok
     * data : [{"id":-2,"members":[{"d_id":6,"d_name":"你爷爷","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":1,"d_relation":"爷爷","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":1,"d_position_x":0,"d_position_y":-2,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/sha.jpg","d_is_admin":0,"d_update_time":0}]},{"id":-1,"members":[{"d_id":1,"d_name":"你大舅","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":1,"d_relation":"大舅","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":0,"d_position_x":-1,"d_position_y":-1,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/57b03f65de5faafadfb6db8f7744fbf1.jpeg","d_is_admin":0,"d_update_time":0},{"d_id":2,"d_name":"你母亲","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":2,"d_relation":"母亲","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":0,"d_position_x":0,"d_position_y":-1,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/428739467.jpg","d_is_admin":0,"d_update_time":0}]},{"id":0,"members":[{"d_id":9,"d_name":"我哥","d_birthday":1111111111,"d_alive":1,"d_phone":"15151515115","d_sex":1,"d_relation":"哥哥","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":0,"d_position_x":-1,"d_position_y":0,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/452741738.jpg","d_is_admin":0,"d_update_time":0},{"d_id":8,"d_name":"李要坤","d_birthday":1563436496,"d_alive":1,"d_phone":"18236929535","d_sex":1,"d_relation":"自己","d_create_time":1234567890,"d_invite_time":0,"d_user_id":3,"d_pic_upload":0,"d_position_x":0,"d_position_y":0,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"跑步","d_is_admin":1,"d_update_time":0},{"d_id":10,"d_name":"我弟","d_birthday":1111111111,"d_alive":1,"d_phone":"15151515115","d_sex":1,"d_relation":"弟弟","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":0,"d_position_x":1,"d_position_y":0,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/452741738.jpg","d_is_admin":0,"d_update_time":0}]},{"id":1,"members":[{"d_id":3,"d_name":"你儿砸","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":1,"d_relation":"儿子","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":0,"d_position_x":0,"d_position_y":1,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/452741738.jpg","d_is_admin":0,"d_update_time":0},{"d_id":4,"d_name":"你闺女","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":2,"d_relation":"闺女","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":1,"d_position_x":1,"d_position_y":1,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/1904334809.jpg","d_is_admin":0,"d_update_time":0}]},{"id":2,"members":[{"d_id":7,"d_name":"你孙贼","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":1,"d_relation":"孙子","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":1,"d_position_x":0,"d_position_y":2,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/452741738.jpg","d_is_admin":0,"d_update_time":0}]}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : -2
         * members : [{"d_id":6,"d_name":"你爷爷","d_birthday":1231231231,"d_alive":1,"d_phone":"15512345678","d_sex":1,"d_relation":"爷爷","d_create_time":1234567890,"d_invite_time":0,"d_user_id":0,"d_pic_upload":1,"d_position_x":0,"d_position_y":-2,"d_home_id":1,"d_birthday_type":1,"d_birthday_str":"","d_head_pic":"https://home.zzwisdom.com/image/sha.jpg","d_is_admin":0,"d_update_time":0}]
         */

        private int id;
        private List<MembersBean> members;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<MembersBean> getMembers() {
            return members;
        }

        public void setMembers(List<MembersBean> members) {
            this.members = members;
        }

        public static class MembersBean implements Serializable{
            /**
             * d_id : 6
             * d_name : 你爷爷
             * d_birthday : 1231231231
             * d_alive : 1
             * d_phone : 15512345678
             * d_sex : 1
             * d_relation : 爷爷
             * d_create_time : 1234567890
             * d_invite_time : 0
             * d_user_id : 0
             * d_pic_upload : 1
             * d_position_x : 0
             * d_position_y : -2
             * d_home_id : 1
             * d_birthday_type : 1
             * d_birthday_str :
             * d_head_pic : https://home.zzwisdom.com/image/sha.jpg
             * d_is_admin : 0
             * d_update_time : 0
             */

            private int d_id;
            private String d_name;
            private int d_birthday;
            private int d_alive;
            private String d_phone;
            private int d_sex;
            private String d_relation;
            private int d_create_time;
            private int d_invite_time;
            private int d_user_id;
            private int d_pic_upload;
            private int d_position_x;
            private int d_position_y;
            private int d_home_id;
            private int d_birthday_type;
            private String d_birthday_str;
            private String d_head_pic;
            private int d_is_admin;
            private int d_update_time;

            public int getD_id() {
                return d_id;
            }

            public void setD_id(int d_id) {
                this.d_id = d_id;
            }

            public String getD_name() {
                return d_name;
            }

            public void setD_name(String d_name) {
                this.d_name = d_name;
            }

            public int getD_birthday() {
                return d_birthday;
            }

            public void setD_birthday(int d_birthday) {
                this.d_birthday = d_birthday;
            }

            public int getD_alive() {
                return d_alive;
            }

            public void setD_alive(int d_alive) {
                this.d_alive = d_alive;
            }

            public String getD_phone() {
                return d_phone;
            }

            public void setD_phone(String d_phone) {
                this.d_phone = d_phone;
            }

            public int getD_sex() {
                return d_sex;
            }

            public void setD_sex(int d_sex) {
                this.d_sex = d_sex;
            }

            public String getD_relation() {
                return d_relation;
            }

            public void setD_relation(String d_relation) {
                this.d_relation = d_relation;
            }

            public int getD_create_time() {
                return d_create_time;
            }

            public void setD_create_time(int d_create_time) {
                this.d_create_time = d_create_time;
            }

            public int getD_invite_time() {
                return d_invite_time;
            }

            public void setD_invite_time(int d_invite_time) {
                this.d_invite_time = d_invite_time;
            }

            public int getD_user_id() {
                return d_user_id;
            }

            public void setD_user_id(int d_user_id) {
                this.d_user_id = d_user_id;
            }

            public int getD_pic_upload() {
                return d_pic_upload;
            }

            public void setD_pic_upload(int d_pic_upload) {
                this.d_pic_upload = d_pic_upload;
            }

            public int getD_position_x() {
                return d_position_x;
            }

            public void setD_position_x(int d_position_x) {
                this.d_position_x = d_position_x;
            }

            public int getD_position_y() {
                return d_position_y;
            }

            public void setD_position_y(int d_position_y) {
                this.d_position_y = d_position_y;
            }

            public int getD_home_id() {
                return d_home_id;
            }

            public void setD_home_id(int d_home_id) {
                this.d_home_id = d_home_id;
            }

            public int getD_birthday_type() {
                return d_birthday_type;
            }

            public void setD_birthday_type(int d_birthday_type) {
                this.d_birthday_type = d_birthday_type;
            }

            public String getD_birthday_str() {
                return d_birthday_str;
            }

            public void setD_birthday_str(String d_birthday_str) {
                this.d_birthday_str = d_birthday_str;
            }

            public String getD_head_pic() {
                return d_head_pic;
            }

            public void setD_head_pic(String d_head_pic) {
                this.d_head_pic = d_head_pic;
            }

            public int getD_is_admin() {
                return d_is_admin;
            }

            public void setD_is_admin(int d_is_admin) {
                this.d_is_admin = d_is_admin;
            }

            public int getD_update_time() {
                return d_update_time;
            }

            public void setD_update_time(int d_update_time) {
                this.d_update_time = d_update_time;
            }
        }
    }
}
